home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 5 / Amiga Plus Sonderheft 1996 #5.iso / programme / raystrom_v1.2 / examples / arexx / randomsph.ray < prev    next >
Text File  |  1987-01-15  |  632b  |  39 lines

  1. /***************
  2.  * NAME:          randomsph.ray
  3.  * DESCRIPTION:   This ARexx-programm demonstrates random colors of faces
  4.  * AUTHOR:        Andreas Heumann
  5.  ***************/
  6.  
  7. signal on error
  8.  
  9. options results
  10.  
  11. IF ~show('P','RAYSTORM') THEN DO
  12.     address COMMAND 'run >NIL: <NIL: /RayStorm'
  13.     address COMMAND WaitForPort RAYSTORM
  14. END  
  15.  
  16. address RAYSTORM
  17.  
  18. 'OBJECTPATH /objects'
  19.  
  20. 'SETSCREEN 160 128'
  21. 'SETCAMERA <0,0,300> <0,0,0> <0,1,0> 25 20'
  22. 'POINTLIGHT <10,-10,100>'
  23.  
  24. 'LOADOBJ randomsphere.iob'
  25.  
  26. 'STARTRENDER QUICK'
  27.  
  28. 'SAVEPIC randomsph.iff'
  29.  
  30. 'CLEANUP'
  31.  
  32. exit 0
  33.  
  34. error:
  35. say "Error" rc "in line" sigl ":"
  36. GETERRORSTR rc
  37. say result
  38. exit 0
  39.